$.ajax({
    type: "GET",
    async: true,
    url: "http://www.easy-mock.com/mock/5a1d0c7e969c0c6f895a3710/data?jsonp_param_name=callback",
    dataType: "jsonp",
    success: function (data) {
        $("#blog_select1").html(template("blog_banner1",data));
        $("#blog_select2").html(template("blog_banner2",data));
        $("#blog_select3").html(template("blog_banner3",data));
        $(".main_top_left").html(template("main_top_left_content",data));
        $(".main_top_middle").html(template("main_top_middle_content",data));
        $(".main_top_right").html(template("main_top_right_content",data));
        $("#main_bottom_div1").html(template("main_bottom_div1_content",data));
        $("#main_bottom_div2").html(template("main_bottom_div2_content",data));
        $("#main_bottom_div3").html(template("main_bottom_div3_content",data));
        $("#main_bottom_div4").html(template("main_bottom_div4_content",data));
    },
    error: function (XMLHttpRequest, textStatus, errorThrown) {
        var info = "XMLHttpRequest:" + JSON.stringify(XMLHttpRequest) + " ;textStatus:" + textStatus + "; errorThrown:" + JSON.stringify(errorThrown) + ";【" + url + "】";
        console.log(info);
    }
});
$.ajax({
    type :"GET",
    url : "http://www.easy-mock.com/mock/5a1cf6291d7fcc245cfac363/shoppingWibsite/headerAndFooter?jsonp_param_name=callback",
    dataType : "jsonp",
    success:function (list) {
        $("#headerMain_nav").html(template("headerNav",list));
        $("#footerTop_list").html(template("footerTopList",list));
        $("#footerBottom_span1").html(template("commonFooterSpan1",list));
        $("#footerBottom_span3").html(template("commonFooterAwesome",list));
        $("#headerTopLeft").html(template("head_left",list));
        $("#headerTopRight").html(template("head_right",list));
        console.log(list);
    },
    error : function(XMLHttpRequest, textStatus, errorThrown) {
        var info = "XMLHttpRequest:" + JSON.stringify(XMLHttpRequest)+ " ;textStatus:" + textStatus + "; errorThrown:"+ JSON.stringify(errorThrown) + ";【" + "url" + "】";
        console.log(info);
    }
});